package com.scsj.supermarket.base;

import com.scsj.supermarket.bean.BaseBean;
import com.scsj.supermarket.bean.SelectAllCityBean;

import dkmvp.net.ResponseCallback;
import okhttp3.RequestBody;
import rx.Subscription;

/**
 * 查询所有城市
 */

public class SelectAllCityBase {

    public interface IView {

        void showSuccessMsg(String s, SelectAllCityBean selectAllCityBean);

        void showErrorMsg(String s);
    }

    public interface IPresenter {

        /**
         *
         */
        void deliverData(RequestBody requestBody);

    }

    public interface IModel {

        /**
         *
         */
        Subscription getData(RequestBody requestBody, ResponseCallback<SelectAllCityBean> callback);

    }

}
